From: Jim Blandy Date: Fri, 28 May 1993 04:33:12 +0000 (+0000) Subject: * configure.in: Extract UNEXEC from the system configuration X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95864 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ac384e4f5d1f2a9e636bb85569b26d6fc25e1903;p=emacs.git * configure.in: Extract UNEXEC from the system configuration files, compute the name of the source file corresponding to the object file, and #define it as UNEXEC_SRC in config.h. --- diff --git a/configure1.in b/configure1.in index 2c3eb3d86eb..84f8846d568 100755 --- a/configure1.in +++ b/configure1.in @@ -1013,6 +1013,13 @@ echo ' #endif @configure@ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM @configure@ c_switch_system=C_SWITCH_SYSTEM + +#ifdef UNEXEC +@configure@ unexec=UNEXEC +#else +@configure@ unexec=unexec.o +#endif + #ifdef SYSTEM_MALLOC @configure@ system_malloc=yes #else @@ -1027,6 +1034,8 @@ eval `${foo} ${tempcname} \ | sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'` rm ${tempcname} +### Compute the unexec source name from the object name. +UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" # Do the opsystem or machine files prohibit the use of the GNU malloc? # Assume not, until told otherwise. @@ -1073,6 +1082,7 @@ AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"") AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE}) +AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC}) [ if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then